package com.mxpio.erp.common.model.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class DxGetTokenResponse {

    @JsonProperty("code")
    private Integer code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("logMsg")
    private Object logMsg;
    @JsonProperty("data")
    private DataDTO data;
    @JsonProperty("success")
    private Boolean success;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("token")
        private String token;
        @JsonProperty("secretKey")
        private String secretKey;
    }
}
